#ifndef _Flower_h_
#define _Flower_h_
#include<windows.h>
#include"Sprite.h"
class CFlower
{
	
	int y;
	int width;
	int height;
	CSprite *flower;
	bool isshow;
	bool isactive;
	bool isover;
public:
	int x;
	CFlower(int _x,int _y,int _width,int _height);
	~CFlower();
	int CollisionWithMario(RECT marioRect);	
	void Render(LPD3DXSPRITE sprite,LPDIRECT3DTEXTURE9 image,int time,int xcamara);
};
#endif